#include "frm_refundquery.h"
#include "ui_frm_refundquery.h"

Frm_RefundQuery::Frm_RefundQuery(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Frm_RefundQuery)
{
    ui->setupUi(this);
}

Frm_RefundQuery::~Frm_RefundQuery()
{
    delete ui;
}
void Frm_RefundQuery::setModel(QueryResultModel *t){
    ui->list->setModel(t);
}
void Frm_RefundQuery::on_btn_confirm_clicked(){
    int btn = QMessageBox::question(this,"退票","你确定要退票吗?","确定");
    if(btn==QMessageBox::Accepted){
        emit RequestForModel();
    }
}
